# Name: GlobalVariables.py #
# 
# Author: Waters #
# Creation Date: 2021.11.17 #
# Version: v0.0.1 #
# 

def CreateGlobalVarialbe():
	global g_szHelloMessage
	global g_szSoftwareName
	g_szHelloMessage = "Hello, this Waters's project."
	g_szSoftwareName = '标准软件开发模板'
	return 0

def GetAllCustomGlobalVariables():
	CreateGlobalVarialbe()
	global_variable = globals()
	dicCustomGlobalVariables = {}
	for key,value in global_variable.items():
		if not (key.startswith('_') \
			or key in ('In','Out','get_ipython','exit','quit','GetAllCustomGlobalVariables', 'CreateGlobalVarialbe') \
			or type(value).__name__ == 'module'):
			dicCustomGlobalVariables[key] = value
		else:
			pass
	return dicCustomGlobalVariables

if __name__ == '__main__':
	print(GetAllCustomGlobalVariables())